package com.totem.product.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;
import java.io.Serializable;

@Data
public class ProductDetailVO implements Serializable {
    @Schema(description = "精品推荐")
    private String recommend;
    @NotEmpty
    @Schema(description="是否自动发货", example="ON-勾选自动发货,OFF-取消勾选")
    private String autoDelivery;
    @Schema(description = "最少购买件数")
    private Integer restrictMin;
    @NotEmpty
    @Schema(description="限购类型", example="UNRESTRICT-不限购,SINGLE-单次限购,LONG_TERM-长期限购")
    private String restrictType;
    @Schema(description = "限购数")
    private Integer restrictMax;
    @Schema(description = "详情")
    private String info;
}
